Compiler and Lexical Analysis (namespace Cpl)


VirtualMachine: It executes the machine code produced by the compiler
DWORD ThreadFunc(Mt::ThreadLink& threadLink)
VirtualMachine(void)
void ClearMemory()
void GetMemoryInfo(HWND hWnd, int gui_type, int datatype, bool showMatrixVectorSize, bool deleteGuiContent)
Fills the listview with memory information using the specified datatype datatype: LEX_DATATYPE_BOOL, ..., LEX_DATATYPE_ALL gui_type: VM_GUITYPE_LISTVIEW, VM_GUITYPE_DROPDOWN
void SafeGetMemoryIntInfo(HWND hWnd, int gui_type)
Fills the listview with memory information using the specified gui_type gui_type: VM_GUITYPE_LISTVIEW, VM_GUITYPE_DROPDOWN
void SetPostMessage(HWND hWnd, UINT wm_message, WPARAM wParam, LPARAM lParam)
It sets the information to call ::PostMessage when the ThreadFunc completes If hWnd is set to nullptr, ::PostMessage will not be called wm_message can be: WM_APP+1, WM_APP+2, WM_APP+3, ...
void Setup(map<wstring, Cpl::Compiler::VariableInfo >& ids, vector<Cpl::Compiler::Instruction >& machineCode, const wchar_t* path)
wchar_t* GetErrorDescr()
wstring GetVariableName(size_t datatype, size_t index)
~ VirtualMachine(void)
© Copyright 2000-2021 selo. All Rights Reserved. Jul 22 2021.